import Main from "../../components/Main.vue"
import List from "../../components/List.vue"
import Cart from "../../components/Cart.vue"
import Customer from "../../components/Customer.vue"
import MyRegister from "../../components/MyRegister.vue"
import QyRegister from "../../components/QyRegister.vue"
import MyCenter from "../../components/MyCenter.vue"
import Autolist from "../../components/Autolist.vue"
import GoodsList from "../../components/GoodsList.vue"
import GoodsDetails from "../../components/GoodsDetails.vue"

export default[
	{
		path: "/main",
		component: Main
	},
	{
		path: "/list",
		component: List
	},
	{
		path: "/cart",
		component: Cart
	},
	{
		path: "/customer",
		component: Customer
	},
	{
		path:"/myreg",
		component: MyRegister
	},
	{
		path:"/qyreg",
		component: QyRegister
	},
	{
		path:"/mycenter",
		component: MyCenter
	},
	{
		path:"/autolist",
		component: Autolist
	},
	{
		path:"/goodslist",
		component: GoodsList
	},
	{
		path:"/goodsdetails",
		component: GoodsDetails
	},
	//路由重定向
	{
		path:"/",
		redirect: "/main"
	},
	{
		path:"*",
		redirect: "/main"
	}
	
]
